﻿Imports System.Transactions
Imports CondorTravel.BE
Imports CondorTravel.DALC

Public Class PaisBC

    Public Function ListarPais() As List(Of PaisBE)
        Try
            Dim listPaisBE As List(Of PaisBE) = Nothing
            Dim objPaisDALC As PaisDALC = Nothing

            objPaisDALC = New PaisDALC
            listPaisBE = New List(Of PaisBE)()
            listPaisBE = objPaisDALC.ListarPais()

            Return listPaisBE

        Catch ex As Exception
            MsgBox(ex.Message, vbCritical, "Error del sistema")
            Return Nothing
            Exit Function
        End Try
    End Function







End Class
